﻿@model PhoneStoreWeb.Models.Product

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Product</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Category.Name)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Category.Name)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Manufacturer.Name)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Manufacturer.Name)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Name)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Desciption)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Desciption)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.ProductImage)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ProductImage)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.WarrantyTime)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.WarrantyTime)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.DealerPrice)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DealerPrice)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.RetailPrice)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.RetailPrice)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Quantity)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Quantity)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.IsHighlighted)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IsHighlighted)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.IsNew)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IsNew)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.IsSelling)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IsSelling)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.IsPromotional)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IsPromotional)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.IsHidden)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IsHidden)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.ProductID }) |
    @Html.ActionLink("Back to List", "Index")
</p>
